package com.hp.gxw.service.impl;

import com.hp.gxw.entity.CostCountEquipmentDepreciationLease;
import com.hp.gxw.mapper.CostCountEquipmentDepreciationLeaseMapper;
import com.hp.gxw.service.ICostCountEquipmentDepreciationLeaseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huangping
 * @since 2024-03-01
 */
@Service
public class CostCountEquipmentDepreciationLeaseServiceImpl extends ServiceImpl<CostCountEquipmentDepreciationLeaseMapper, CostCountEquipmentDepreciationLease> implements ICostCountEquipmentDepreciationLeaseService {

    @Resource
    private CostCountEquipmentDepreciationLeaseMapper costCountEquipmentDepreciationLeaseMapper;

    @Override
    public void generateDepreciationAndLease(String month) {
        costCountEquipmentDepreciationLeaseMapper.generateDepreciationAndLease(month);
    }
}
